<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"/>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<script src="js/jQuery3.4.1.js"></script>
		<script src="js/bootstrap.bundle.min.js"></script>
		<script src="js/bootstrap.min.js"></script>
	</head>
	<body>
		<div class="container mt-3">
			<!-- 触发器 -->
			<button type="button" class="btn btn-danger" data-toggle="#mymodal" data-toggle="modal">弹出模态框</button>
			<!-- 设计一个模态框 -->
			<div class="modal" id="mymodal">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<h4>模态框的标题</h4>
							<button type="button">x</button>
						</div>
						<div class="modal-body">
							<p>这是正文部分</p>
						</div>
						<div class="modal-footer">
							<button type="button" class="btn btn-warning">关闭</button>
							<button type="button" class="btn btn-primary">保存</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>
